﻿namespace SEIPropertyDataService.Entity.ViewModels
{
    /// <summary>
    /// key-value键值对模型
    /// </summary>
    /// <typeparam name="T1"></typeparam>
    /// <typeparam name="T2"></typeparam>
    public class VM_KeyValue<T1, T2>
    {
        /// <summary>
        /// 键
        /// </summary>
        public T1 Key { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        public T2 Value { get; set; }
        public VM_KeyValue()
        {

        }
        public VM_KeyValue(T1 t1, T2 t2)
        {
            Key = t1;
            Value = t2;
        }
    }
}
